package com.aijk.ehm.sys.mapper;

import com.aijk.ehm.sys.model.SysRoleAuthExample;
import com.aijk.ehm.sys.model.SysRoleAuth;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleAuthMapper {
    int countByExample(SysRoleAuthExample example);

    int deleteByExample(SysRoleAuthExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysRoleAuth record);

    int insertSelective(SysRoleAuth record);

    List<SysRoleAuth> selectByExample(SysRoleAuthExample example);

    SysRoleAuth selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysRoleAuth record, @Param("example") SysRoleAuthExample example);

    int updateByExample(@Param("record") SysRoleAuth record, @Param("example") SysRoleAuthExample example);

    int updateByPrimaryKeySelective(SysRoleAuth record);

    int updateByPrimaryKey(SysRoleAuth record);
}